<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>注册页面</title>
</head>
<body>
  <h2>用户注册</h2>

  <form action="{{ url_for('index_bp.register') }}" method="post">
    <label for="username">用户名：</label>
    <input type="text" id="username" name="username" required><br><br>

    <label for="password">密码：</label>
    <input type="password" id="password" name="password" required><br><br>

    <label for="email">邮箱：</label>
    <input type="email" id="email" name="email" required><br><br>

    <input type="submit" value="注册">
  </form>

</body>
</html>